package com.example.zq.customerextends;

import feign.Logger;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
@EnableFeignClients
public class CustomerextendsApplication {

  public static void main(String[] args) {
    SpringApplication.run(CustomerextendsApplication.class, args);
  }
  //feign日志配置,可选配
  @Bean
  Logger.Level loggerLevel() {
    return Logger.Level.FULL;
  }

}
